﻿using System;

namespace CodeSandbox.Contracts
{
    public interface IExecutor
    {
        void SafeRun<TReturn>(Func<TReturn> logic);
        void RunAndIgnore<TReturn, TKnownException>(Func<TReturn> logic);
        void RunAndExpect<TReturn, TExpectedException>(Func<TReturn> logic);
    }
}
